package xyz.xtt.admin.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class AssetTransationRecordVo {

    private Long id;

    /**
     * 关联资产主键
     */
    private Long accountNo;

    /**
     * 交易记录表
     */
    private Long transactionId;

    /**
     * 0转出方1转入方
     */
    private Integer side;

    /**
     * 上次结余
     */
    private BigDecimal beforeAmount;

    /**
     * 发生额
     */
    private BigDecimal amount;

    /**
     * 余额
     */
    private BigDecimal afterAmount;

    /**
     * 发生数量
     */
    private BigDecimal totalPrice;

    /**
     * 费用
     */
    private BigDecimal fees;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    private Long ownerId;
    private Long assetId;
    private String assetName;

}
